<script setup lang="ts">
import SiderItem from '@/components/item/SiderItem.vue';
import HeaderItem from '@/components/item/HeaderItem.vue';
import { useRouter } from 'vue-router';
const router = useRouter()
const routerArr = router.getRoutes()
console.log(routerArr);

</script>

<template>
    <div class="layout">
        <el-container>
            <SiderItem />
            <el-container class="main">
                <HeaderItem />
                <MainItem />
            </el-container>
        </el-container>
    <RouterView/>
    </div>
</template>

<style scoped></style>
